﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace mirror
{
    public class cLocalFxManager : Singleton<cLocalFxManager>
    {
        ContentManager mContent;
        GraphicsDevice mDevice;

        public void Init(ContentManager content, GraphicsDevice device)
        {
            mContent = content;
            mDevice = device;
        }

        public cLocalFx Spawn(String settingsname)
        {
            cLocalFx fx = new cLocalFx();
            fx.LoadContent(mContent, settingsname);
            return fx;
        }
    }
}
